//
//  YXCustomSegmentedView.h
//  CreditCard
//
//  Created by 杨旭 on 2017/12/23.
//  Copyright © 2017年 杨旭. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface YXCustomSegmentedView : UIView

@property (nonatomic, strong) NSArray *titleArray;
@property (nonatomic, strong) NSMutableArray <UIButton *>*buttonArray;
@property (nonatomic, strong) UIColor *tint_Color;
@property (nonatomic, strong) UIFont *textFont;
@property (nonatomic, assign) NSInteger selectedIndex;
@property (nonatomic, strong) UIButton *selectedButton;
@property (nonatomic, strong) id delegate;
@property (nonatomic) SEL action;


-(void)addTarget:(id)target action:(SEL)action forControlEvents:(UIControlEvents)event;

@end
